package com.wx_shop.api.comm;

public class Constants {

	public static String HOST_URL = "http://ws.guorenhelp.com";
//	public static String WX_APPID = "wxbcf37c54d09f3ef6";
//	public static String WX_APPSECRET = "825c0e8b8fb05a738344478d70adef00";
//	public static String WX_TOKEN = "ws_weixin_token";
	public static String WX_ENCODING_AES_KEY = "mu6LEsYGHrxzufl3nWohafGbAEBEGkBaZdW50CHAQkN";
	
	/*
	// ****** 茶道品茶 ******
	public static String WX_APPID = "wx723c9af7bada9cd1";
	public static String WX_APPSECRET = "220f53d9edf91cd56d16cbe88f5c7bf9";
	public static String WX_TOKEN = "44A406660D45410A83170DC68E82A74B";
	public static String MP_ID = "gh_1ccf1ea8e91d"; // 公从号源始ID
	
	// 支付商户号
	public static String WX_MCH_ID = "1343225901";
	public static String WX_PAY_KEY = "278499F9C6DD47C28B6CA2D6CE15079D";
	
	// ===== end =====
	*/
	
	// ****** 草本素养 ******
	public static String WX_APPID = "wx33c70efafaf6ab2c";
	public static String WX_APPSECRET = "04a671ea7c6fd2201b26bffe29df3797";
	public static String WX_TOKEN = "44A406660D45410A83170DC68E82A74B";
	public static String MP_ID = "gh_ecae71b05652"; // 公从号源始ID
	
	// 支付商户号
	public static String WX_MCH_ID = "1419113402";
	public static String WX_PAY_KEY = "471dae209f5c45589ef3ad6c5f40cfcb";
	
	// 微信授权登录 - 回调地址
	public static String WX_PAY_NOTIFY = HOST_URL + "/wx/payNotify";
	
	// 微信授权登录: scope: snsapi_userinfo(未关注用户会弹出登录确定), snsapi_base(静默授权，未关注用户只能获取openid，其他信息获取不到，已关注用户可以获取全疗信息)
	public static String AUTHORIZE = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + WX_APPID + "&redirect_uri={redirect_uri}&response_type=code&scope={scope}&state=STATE#wechat_redirect";
	
	public static String ACCESS_TOKEN = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=" + WX_APPID + "&secret=" + WX_APPSECRET + "&code={code}&grant_type=authorization_code";

	// 邀请地址
//	public static final String INVITE_URL = "http://ws.guorenhelp.com/wx/invitation/code/";
	public static final String INVITE_URL = "http://ws.guorenhelp.com/wx/invitation/qr/";
	
	// - - - 支付URL地址 - - -
	public static String WXPAY_UNIFIEDORDER = "https://api.mch.weixin.qq.com/pay/unifiedorder"; // 统一下单
	public static String ORDER_QUERY = "https://api.mch.weixin.qq.com/pay/orderquery";

	public static final int GOOD_PAGE_SIZE = 12; 	// 前台商品列表每页条数
	public static final int ORDER_PAGE_SIZE = 12; 	// 订单每页显示条数
	public static final int MESSAGE_PAGE_SIZE = 12; // 消息分页条数
	
	public static final String HOME_BANNER_LIST = "home-banner-list"; 		// 首页banner滚动
	public static final String NEW_PRO_RECOMMEND = "new-pro-recommend"; 	// 新品推荐 
	public static final String HOME_AD_COLUMN_LIST = "home-ad-column-list"; // 首页楼层广告
	public static final String VIP_HOT_BUY = "vip-hot-buy"; 				// 会员热购 
	
	public static enum COLUMN_PUB {
		pro("产品"), news("新闻文章"), ad("广告");
		
		COLUMN_PUB(String msg) { }
		
	}
}
